import Mock from 'mockjs'


const data = Mock.mock({
  "list|1": [
    { "id|+1": 1,
     "name|1": ["旎旎","露露"],
      "address|1": ["辽宁省沈阳市","辽宁省抚顺市"],
      "phone|1":[ "13400000001", "13400999991", "18888888881"],
      "sex|1":['女','男'],
      "email":"@email",
      "cardId":"110xxxxxxxx2293837",
     },],
});
 Mock.mock("/selflist", 'get', ()=>{
  // console.log('我做的假数据');
 return data
})
//信用额度假数据

// var Mock = require('mockjs')
const data1 =Mock.mock({
     'list':[
      {"id|+1":0},
      {
        code:'200',
        'coins':'16800',
        limitNum:'10000/15000',
      },
     
     ],
     goods:[{
      img:'https://img10.360buyimg.com/n1/s450x450_jfs/t1/136312/33/29381/18286/63353c2fEb7a12efd/e35ae07dbdf05281.jpg.avif',
      name:'Apple iPhone 11 (A2223) ',
      coinsPay:'266666咖积分'
    },
    {
      img:'https://img10.360buyimg.com/n1/s450x450_jfs/t1/72394/39/24097/33798/64365624F50efde7b/951057fbe208a178.jpg.avif',
      name:'华为/HUAWEI P60 ',
      coinsPay:'26888888咖积分'
    },
    {
      img:'https://t15.baidu.com/it/u=1769339649,338853607&fm=224&app=112&size=h200&n=0&f=JPEG&fmt=auto?sec=1686848400&t=ca118b8247d7dbc35f3c8ebdbb424d16',
      name:'新款Max八核智能手机256G',
      coinsPay:'3722000咖积分'
    },
    {
      img:'https://img11.360buyimg.com/n1/s450x450_jfs/t1/32809/32/18539/16872/6359091bEb8d71b9e/a20f3c88662f8ef6.jpg.avif',
      name:'HUAWEI nova 10 SE ',
      coinsPay:'222000咖积分'
    },
    {
      img:'https://img13.360buyimg.com/n1/s450x450_jfs/t1/84111/15/22188/44326/64422a79F884baca4/8f2cfa40a05fdaf4.jpg.avif',
      name:'华为 HUAWEI P50 Pro ',
      coinsPay:'28888888咖积分'
    },
    {
      img:'https://img13.360buyimg.com/n1/s450x450_jfs/t1/84111/15/22188/44326/64422a79F884baca4/8f2cfa40a05fdaf4.jpg.avif',
      name:'华为 HUAWEI P50E',
      coinsPay:'22346795咖积分'
    },
    {
      img:'https://img13.360buyimg.com/n1/s450x450_jfs/t1/126421/16/34544/65517/6481b9c6F5af35b2b/cd2367ebf616a737.jpg.avif',
      name:'华为/HUAWEI P60',
      coinsPay:'222000咖积分'
    },
    {
      img:'https://img14.360buyimg.com/n1/s450x450_jfs/t1/76245/4/17687/26073/613c3b94E0bc27e37/ffd7a6d35e3ef76d.jpg.avif',
      name:'HUAWEI nova 10 SE ',
      coinsPay:'222000咖积分'
    },
    {
      img:'https://img14.360buyimg.com/n1/s450x450_jfs/t1/205545/34/6080/47709/613c3ba7E9d3e53fe/de5fcd42973b3c5e.jpg.avif',
      name:'华为HUAWEI 畅享20 SE  ',
      coinsPay:'222000咖积分'
    },


  ]


})


Mock.mock('/limitlist','get',()=>{
  // console.log('我写的假数据',data);
  return data1
})